@extends('Layout/layout')

@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("group").className = "e_css";
	}); 
</script>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>

<div class="mian_top_c">
<ul>
<li><a href="{{ url('/group') }}"><p>分组管理</p></a></li>
<!-- <li><a href="{{ url('/cate') }}"><p>菜单管理</p></a></li> -->
</ul>
</div>
@if (session('error'))
    <div style="color: red;background-color: #c1c1c1;border-color: #d6e9c6;float:left;margin-top:10px;margin-bottom:10px;width:100%;">

           {{session('error')}}
       
    </div>
@endif
<div class="mian_b">
<div class="mian_b1">
<!-- <a href="{{ url('/group/add') }}" title="添加"><p class="mian_b1_a1"></p></a> -->
<!-- <a href="#" title="删除"><p class="mian_b1_a2"></p></a> -->
<form action="{{url('/group')}}" modth="get">
	
<p class="mian_b1_sousuo"><input name="name" type="text" value="分组名"></p>
<input type="image" src="/public/images/1.jpg" style="margin:13px;">
</form>

</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg">
<tr>
<td width="3%" class="mian_b_bg_lm"><input name="" type="checkbox" value="">&nbsp;</td>
<td width="15%" class="mian_b_bg_lm"><span></span>分组ID</td>
<td width="11%" class="mian_b_bg_lm"><span></span>分组名称</td>
<td width="40%" class="mian_b_bg_lm"><span></span>备注</td>
<td colspan="2" class="mian_b_bg_lm"><span></span>操作</td>
</tr>
@foreach($res as $k => $v)
<tr>
<td><input name="" type="checkbox" value="">&nbsp;</td>
<td>{{ $v['ClassId'] }}</td>
<td>{{ $v['ClassName'] }}</td>
<td>{{ $v['Remark'] }}</td>
<td width="8%" class="mian_b_icon_01"><a href="{{ url('/group/edit',['id'=>$v['ClassId']]) }}">编辑</a></td>
<td width="8%" ></td>
</tr>
@endforeach
<tr>
<td width="3%" class="mian_b_bg_lm">&nbsp;</td>
<td width="15%" class="mian_b_bg_lm"><span></span>角色名称</td>
<td width="11%" class="mian_b_bg_lm"><span></span>排序ID</td>
<td width="40%" class="mian_b_bg_lm"><span></span>备注</td>
<td colspan="2" class="mian_b_bg_lm"><span></span>操作</td>
</tr>
</table>
<div style="float:left;" id="fenye">
{!! $res->appends($info)->render() !!}
</div>
</div>
</div>
</body>

@endsection